<?php $this -> load->view('giangvien/inc/header');?>
    <div id="maincontainer">
        <?php $this -> load->view('giangvien/inc/menu_giangvien');?>
        <form class="cssform" name="property" id="property" method="POST" action="<?php echo base_url();?>admin/khoahoc/insert"  enctype="multipart/form-data" >
             <div id="tab_mce">
            <table cellpadding="0" id="table">
                <tr>
                    <th class="ta_th"><a class="a_cl">Tên Khóa :</a></th>
                    <td><input class="in_put" type="text" name="ten_khoahoc"  /></td>
                </tr>
                <tr>
                    <th class="ta_th"><a class="a_cl">Nội Dung :</a></th>
                    <td><textarea id="textarea" name="noidung" style="width:100%"></textarea></td>
                </tr>
                    <th class="ta_th"><a class="a_cl">Thời Lượng :</a></th>
                    <td><input class="in_put" type="text" name="thoi_luong" /></td>
                </tr>
                <tr>
                    <th class="ta_th"><a class="a_cl">Bắt Đầu :</a></th>
                    <td><input class="in_put" type="text" name="time_start"/></td>
                </tr>
                <tr>
                    <?php $laymon = $this->m_giangvien->get_select_mon();?>
                    <th class="ta_th"><a class="a_cl">Môn :</a></th>
                    <td>
                        <select name="id_mon" class="a_cl">
                            <option value="0">Chọn môn học</option>
                        <?php foreach($laymon->result_array() as $rowlaymon):?>
                            <option value="<?php echo $rowlaymon['id'];?>"><?php echo $rowlaymon['ten_mon'];?></option>
                        <?php endforeach;?>
                        </select>
                    </td>
                    </tr>
                <tr>
                    <th class="ta_th"><a class="a_cl">Giảng Viên :</a></th>
                    <td><input class="in_put" type="text" name="giang_vien"/></td>
                </tr>
                <tr>
                        <?php $laynganh = $this->m_giangvien->get_select_nganh();?>
                        <th class="ta_th"><a class="a_cl">Ngành :</a></th>
                        <td>
                            <select name="id_nganh" class="a_cl">
                                <option value="0">Chọn Ngành</option>
                            <?php foreach($laynganh->result_array() as $rowlaynganh):?>
                                <option value="<?php echo $rowlaynganh['id'];?>"><?php echo $rowlaynganh['ten_nganh'];?></option>
                            <?php endforeach;?>
                            </select>
                        </td>
                    </tr>

            </table>
            </div><!--end div #tab_mce-->
            <input type="submit" id="but_mce" name="btnsubmit" value="Lưu Lại" />
        </form><!--end #show-->
    </div><!--maincontainer-->
<?php $this -> load->view('giangvien/inc/footer');?>